package com.surelution.lansao

class OrderStatus {
	
	public static final String NEW = "NEW"
	public static final String CONFIRMED = "CONFIRMED"
	public static final String DELIVERED = "DELIVERED"
	public static final String FINISHED = "FINISHED"
	public static final String CANCELLED = "CANCELLED"

    static constraints = {
    }
	
	static mapping = {
		key column:'c_key'
	}
	
	String key
	String label
	String description
	
	public static OrderStatus status(String key) {
		return OrderStatus.findByKey(key)
	}
}
